<?php
	if ($_SERVER['HTTP_HOST'] == 'www.promessedunevie.com') {
			$sHost = "mysql.promessedunevie.com";
			$sUser = "developer2";
			$sPass = "JI2IJMXN";
			$sBase = "promesseduneviecom";
			} else {
			$sHost = "localhost";
			$sUser = "root";
			$sPass = "ilovemysql";
			$sBase = "promesseduneviecom";
			}
	
	$link = mysql_connect ($sHost, $sUser, $sPass) or die ("Connexion impossible");
	mysql_select_db($sBase);
	
?>